import { ExpenseAnalysisApi } from '@/api'
import CommonModel from './common'

// 养护辅助决策
class ExpenseAnalysisModel extends CommonModel {
    constructor() {
        super()
        this.api = new ExpenseAnalysisApi()
    }

    // 数据统计分析--养护预算&养护支出&养护次数
    budgetExpenseCount(data) {
        return this.api.budgetExpenseCount(data)
    }
    // 数据统计分析--养护支出&养护次数&养护工程状态
    expenseCountStatus(data) {
        return this.api.expenseCountStatus(data)
    }
    // 数据统计分析--巡检缺陷统计&道路健康统计
    defectRoadHealth(data) {
        return this.api.defectRoadHealth(data)
    }
}

export default ExpenseAnalysisModel
